[INFO] cloning repository https://github.com/RudolfVonKrugstein/streamdeck-controller-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RudolfVonKrugstein/streamdeck-controller-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRudolfVonKrugstein%2Fstreamdeck-controller-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRudolfVonKrugstein%2Fstreamdeck-controller-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ace8f4a68cc4860479a66dadcf137cf3f629ec34
[INFO] checking RudolfVonKrugstein/streamdeck-controller-rs against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRudolfVonKrugstein%2Fstreamdeck-controller-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/RudolfVonKrugstein/streamdeck-controller-rs on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/RudolfVonKrugstein/streamdeck-controller-rs
[INFO] finished tweaking git repo https://github.com/RudolfVonKrugstein/streamdeck-controller-rs
[INFO] tweaked toml for git repo https://github.com/RudolfVonKrugstein/streamdeck-controller-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/RudolfVonKrugstein/streamdeck-controller-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/image-rs/imageproc`
[INFO] [stderr]     Updating git repository `https://github.com/RudolfVonKrugstein/streamdeck-hid-rs`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pyo3-macros v0.16.6
[INFO] [stderr]   Downloaded pyo3-ffi v0.16.6
[INFO] [stderr]   Downloaded pyo3-build-config v0.16.6
[INFO] [stderr]   Downloaded pyo3-macros-backend v0.16.6
[INFO] [stderr]   Downloaded pyo3 v0.16.6
[INFO] [stderr]   Downloaded hidapi v2.1.2
[INFO] [stderr]   Downloaded windows v0.33.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bf279e1ad546742140689c730dc1fac490120974cdca82e23f0277b5ba0bd59b
[INFO] running `Command { std: "docker" "start" "-a" "bf279e1ad546742140689c730dc1fac490120974cdca82e23f0277b5ba0bd59b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf279e1ad546742140689c730dc1fac490120974cdca82e23f0277b5ba0bd59b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf279e1ad546742140689c730dc1fac490120974cdca82e23f0277b5ba0bd59b", kill_on_drop: false }`
[INFO] [stdout] bf279e1ad546742140689c730dc1fac490120974cdca82e23f0277b5ba0bd59b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 786278430fce379a4a5581135b82582c5ddc6a30cae0ef9a724a934f9ba5986a
[INFO] running `Command { std: "docker" "start" "-a" "786278430fce379a4a5581135b82582c5ddc6a30cae0ef9a724a934f9ba5986a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.50
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling crossbeam-utils v0.8.14
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling target-lexicon v0.12.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.13
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]     Checking either v1.8.1
[INFO] [stderr]    Compiling rayon-core v1.10.2
[INFO] [stderr]     Checking miniz_oxide v0.6.2
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking bytemuck v1.13.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]    Compiling once_cell v1.17.0
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking weezl v0.1.7
[INFO] [stderr]     Checking futures-sink v0.3.25
[INFO] [stderr]    Compiling paste v1.0.11
[INFO] [stderr]     Checking nanorand v0.7.0
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking flate2 v1.0.25
[INFO] [stderr]     Checking safe_arch v0.6.0
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking num-complex v0.4.3
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking spin v0.9.4
[INFO] [stderr]     Checking predicates-core v1.0.5
[INFO] [stderr]     Checking bit_field v0.10.1
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking half v2.2.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling parking_lot_core v0.9.6
[INFO] [stderr]     Checking regex-syntax v0.6.28
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]     Checking lebe v0.5.2
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking wide v0.7.5
[INFO] [stderr]    Compiling pyo3-build-config v0.16.6
[INFO] [stderr]     Checking gif v0.11.4
[INFO] [stderr]     Checking png v0.17.7
[INFO] [stderr]     Checking crossbeam-deque v0.8.2
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking float-cmp v0.9.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking ttf-parser v0.15.2
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]     Checking termtree v0.4.0
[INFO] [stderr]     Checking normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]    Compiling time-macros v0.2.6
[INFO] [stderr]     Checking matrixmultiply v0.3.2
[INFO] [stderr]     Checking predicates-tree v1.0.7
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.8
[INFO] [stderr]     Checking custom_derive v0.1.7
[INFO] [stderr]     Checking itoa v1.0.5
[INFO] [stderr]     Checking downcast v0.11.0
[INFO] [stderr]     Checking fragile v2.0.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rand_distr v0.2.2
[INFO] [stderr]     Checking conv v0.3.3
[INFO] [stderr]    Compiling hidapi v2.1.2
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking nix v0.22.3
[INFO] [stderr]     Checking num v0.4.0
[INFO] [stderr]     Checking colored v2.0.0
[INFO] [stderr]     Checking rayon v1.6.1
[INFO] [stderr]     Checking gethostname v0.2.3
[INFO] [stderr]     Checking ryu v1.0.12
[INFO] [stderr]     Checking textwrap v0.16.0
[INFO] [stderr]     Checking unindent v0.1.11
[INFO] [stderr]    Compiling indoc v1.0.9
[INFO] [stderr]     Checking more-asserts v0.2.2
[INFO] [stderr]     Checking md5 v0.7.0
[INFO] [stderr]     Checking simba v0.7.3
[INFO] [stderr]     Checking owned_ttf_parser v0.15.2
[INFO] [stderr]     Checking time v0.3.17
[INFO] [stderr]     Checking rusttype v0.9.3
[INFO] [stderr]    Compiling pyo3-ffi v0.16.6
[INFO] [stderr]    Compiling pyo3 v0.16.6
[INFO] [stderr]     Checking regex v1.7.1
[INFO] [stderr]     Checking simple_logger v2.3.0
[INFO] [stderr]     Checking predicates v2.1.5
[INFO] [stderr]     Checking jpeg-decoder v0.3.0
[INFO] [stderr]     Checking tiff v0.8.1
[INFO] [stderr]    Compiling pyo3-macros-backend v0.16.6
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking x11rb v0.9.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]    Compiling mockall_derive v0.11.3
[INFO] [stderr]    Compiling clap_derive v3.2.18
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]     Checking flume v0.10.14
[INFO] [stderr]    Compiling pyo3-macros v0.16.6
[INFO] [stderr]     Checking exr v1.5.2
[INFO] [stderr]     Checking clap v3.2.23
[INFO] [stderr]     Checking nalgebra v0.30.1
[INFO] [stderr]     Checking mockall v0.11.3
[INFO] [stderr]     Checking serde v1.0.152
[INFO] [stderr]     Checking image v0.24.5
[INFO] [stderr]     Checking serde_yaml v0.8.26
[INFO] [stderr]     Checking streamdeck-hid-rs v0.2.0 (https://github.com/RudolfVonKrugstein/streamdeck-hid-rs#be635540)
[INFO] [stderr]     Checking imageproc v0.23.0 (https://github.com/image-rs/imageproc#0929335c)
[INFO] [stderr]     Checking streamdeck-controller-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/foreground_window/linux/foreground_window.rs:211:42
[INFO] [stdout]     |
[INFO] [stdout] 211 |         res = res * 256 + property.value[(property.value.len() - index - 1)] as u32;
[INFO] [stdout]     |                                          ^                                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 211 -         res = res * 256 + property.value[(property.value.len() - index - 1)] as u32;
[INFO] [stdout] 211 +         res = res * 256 + property.value[property.value.len() - index - 1] as u32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IntoPyDict`
[INFO] [stdout]  --> src/script_engine/python/engine.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use pyo3::types::{IntoPyDict, PyDict};
[INFO] [stdout]   |                   ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/state/button.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `streamdeck_hid_rs::StreamDeckType`
[INFO] [stdout]  --> src/state/button.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use streamdeck_hid_rs::StreamDeckType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/state/page/positioned_button_setup.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::warn`
[INFO] [stdout]  --> src/state/page/positioned_button_setup.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use log::warn;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pyo3::number::pos`
[INFO] [stdout]  --> src/state/page/positioned_button_setup.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use pyo3::number::pos;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/state/page/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/foreground_window/linux/foreground_window.rs:211:42
[INFO] [stdout]     |
[INFO] [stdout] 211 |         res = res * 256 + property.value[(property.value.len() - index - 1)] as u32;
[INFO] [stdout]     |                                          ^                                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 211 -         res = res * 256 + property.value[(property.value.len() - index - 1)] as u32;
[INFO] [stdout] 211 +         res = res * 256 + property.value[property.value.len() - index - 1] as u32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IntoPyDict`
[INFO] [stdout]  --> src/script_engine/python/engine.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use pyo3::types::{IntoPyDict, PyDict};
[INFO] [stdout]   |                   ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]    --> src/state/app_state.rs:341:9
[INFO] [stdout]     |
[INFO] [stdout] 341 |     use std::borrow::Borrow;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `streamdeck_hid_rs::StreamDeckType`
[INFO] [stdout]  --> src/state/button.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use streamdeck_hid_rs::StreamDeckType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config::ButtonConfigOptionalName`
[INFO] [stdout]    --> src/state/button.rs:220:9
[INFO] [stdout]     |
[INFO] [stdout] 220 |     use crate::config::ButtonConfigOptionalName;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::InputEvent::ForegroundWindow`
[INFO] [stdout]   --> src/state/foreground_window_condition.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     use crate::InputEvent::ForegroundWindow;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/state/page/positioned_button_setup.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::warn`
[INFO] [stdout]  --> src/state/page/positioned_button_setup.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use log::warn;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pyo3::number::pos`
[INFO] [stdout]  --> src/state/page/positioned_button_setup.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use pyo3::number::pos;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/state/page/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/state/button.rs:247:45
[INFO] [stdout]     |
[INFO] [stdout] 247 |         let returned_face = state.get_setup(&named_buttons);
[INFO] [stdout]     |                                   --------- ^^^^^^^^^^^^^^ expected `&HashMap<String, ButtonSetup>`, found `&HashMap<String, Arc<ButtonSetup>>`
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&std::collections::HashMap<std::string::String, state::button::ButtonSetup>`
[INFO] [stdout]                found reference `&std::collections::HashMap<std::string::String, std::sync::Arc<state::button::ButtonSetup>>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/state/button.rs:171:8
[INFO] [stdout]     |
[INFO] [stdout] 171 |     fn get_setup<'a>(
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 172 |         &self,
[INFO] [stdout] 173 |         named_buttons: &'a HashMap<String, ButtonSetup>,
[INFO] [stdout]     |         -----------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/state/app_state.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let mut button= self
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/state/app_state.rs:227:13
[INFO] [stdout]     |
[INFO] [stdout] 227 |         for mut button in self.buttons.iter_mut() {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/state/button.rs:252:29
[INFO] [stdout]     |
[INFO] [stdout] 252 |         assert!(Arc::ptr_eq(&returned_face_unwrap, &setup));
[INFO] [stdout]     |                 ----------- ^^^^^^^^^^^^^^^^^^^^^ expected `&Arc<ButtonSetup>`, found `&&ButtonSetup`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&std::sync::Arc<state::button::ButtonSetup>`
[INFO] [stdout]                found reference `&&state::button::ButtonSetup`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/9610dfe5a9a731ced1ea4923ecbd0c57fe367898/library/alloc/src/sync.rs:1289:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/state/button_face.rs:90:38
[INFO] [stdout]    |
[INFO] [stdout] 90 |             self.label.as_mut().map(|mut l| l.update_values(label, labelcolor));
[INFO] [stdout]    |                                      ----^
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/state/button_face.rs:93:38
[INFO] [stdout]    |
[INFO] [stdout] 93 |             self.label.as_mut().map(|mut l| l.update_values(sublabel, sublabelcolor));
[INFO] [stdout]    |                                      ----^
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/state/button_face.rs:96:38
[INFO] [stdout]    |
[INFO] [stdout] 96 |             self.label.as_mut().map(|mut l| l.update_values(superlabel, superlabelcolor));
[INFO] [stdout]    |                                      ----^
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/state/button.rs:271:55
[INFO] [stdout]     |
[INFO] [stdout] 271 |         state.set_rendered_and_get_face_for_rendering(&named_buttons);
[INFO] [stdout]     |               --------------------------------------- ^^^^^^^^^^^^^^ expected `&HashMap<String, ButtonSetup>`, found `&HashMap<String, Arc<ButtonSetup>>`
[INFO] [stdout]     |               |
[INFO] [stdout]     |               arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&std::collections::HashMap<std::string::String, state::button::ButtonSetup>`
[INFO] [stdout]                found reference `&std::collections::HashMap<std::string::String, std::sync::Arc<state::button::ButtonSetup>>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/state/button.rs:189:12
[INFO] [stdout]     |
[INFO] [stdout] 189 |     pub fn set_rendered_and_get_face_for_rendering<'a>(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 190 |         &mut self,
[INFO] [stdout] 191 |         named_buttons: &'a HashMap<String, ButtonSetup>,
[INFO] [stdout]     |         -----------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/state/button.rs:293:55
[INFO] [stdout]     |
[INFO] [stdout] 293 |         state.set_rendered_and_get_face_for_rendering(&named_buttons);
[INFO] [stdout]     |               --------------------------------------- ^^^^^^^^^^^^^^ expected `&HashMap<String, ButtonSetup>`, found `&HashMap<String, Arc<ButtonSetup>>`
[INFO] [stdout]     |               |
[INFO] [stdout]     |               arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&std::collections::HashMap<std::string::String, state::button::ButtonSetup>`
[INFO] [stdout]                found reference `&std::collections::HashMap<std::string::String, std::sync::Arc<state::button::ButtonSetup>>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/state/button.rs:189:12
[INFO] [stdout]     |
[INFO] [stdout] 189 |     pub fn set_rendered_and_get_face_for_rendering<'a>(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 190 |         &mut self,
[INFO] [stdout] 191 |         named_buttons: &'a HashMap<String, ButtonSetup>,
[INFO] [stdout]     |         -----------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/state/button.rs:294:27
[INFO] [stdout]     |
[INFO] [stdout] 294 |         state.set_pressed(&named_buttons);
[INFO] [stdout]     |               ----------- ^^^^^^^^^^^^^^ expected `&HashMap<String, ButtonSetup>`, found `&HashMap<String, Arc<ButtonSetup>>`
[INFO] [stdout]     |               |
[INFO] [stdout]     |               arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&std::collections::HashMap<std::string::String, state::button::ButtonSetup>`
[INFO] [stdout]                found reference `&std::collections::HashMap<std::string::String, std::sync::Arc<state::button::ButtonSetup>>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/state/button.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout] 142 |     pub fn set_pressed<'a>(
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 143 |         &mut self,
[INFO] [stdout] 144 |         named_buttons: &'a HashMap<String, ButtonSetup>,
[INFO] [stdout]     |         -----------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/state/button.rs:316:27
[INFO] [stdout]     |
[INFO] [stdout] 316 |         state.set_pressed(&named_buttons);
[INFO] [stdout]     |               ----------- ^^^^^^^^^^^^^^ expected `&HashMap<String, ButtonSetup>`, found `&HashMap<String, Arc<ButtonSetup>>`
[INFO] [stdout]     |               |
[INFO] [stdout]     |               arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&std::collections::HashMap<std::string::String, state::button::ButtonSetup>`
[INFO] [stdout]                found reference `&std::collections::HashMap<std::string::String, std::sync::Arc<state::button::ButtonSetup>>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/state/button.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout] 142 |     pub fn set_pressed<'a>(
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 143 |         &mut self,
[INFO] [stdout] 144 |         named_buttons: &'a HashMap<String, ButtonSetup>,
[INFO] [stdout]     |         -----------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `instance` and `pid` are never read
[INFO] [stdout]   --> src/foreground_window/linux/foreground_window.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct WindowData {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub instance: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 28 |     pub pid: u32,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ReplyError` is never constructed
[INFO] [stdout]  --> src/foreground_window/error.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum X11Error {
[INFO] [stdout]   |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 9 |     ReplyError(ReplyError),
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `X11Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/state/button.rs:317:55
[INFO] [stdout]     |
[INFO] [stdout] 317 |         state.set_rendered_and_get_face_for_rendering(&named_buttons);
[INFO] [stdout]     |               --------------------------------------- ^^^^^^^^^^^^^^ expected `&HashMap<String, ButtonSetup>`, found `&HashMap<String, Arc<ButtonSetup>>`
[INFO] [stdout]     |               |
[INFO] [stdout]     |               arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&std::collections::HashMap<std::string::String, state::button::ButtonSetup>`
[INFO] [stdout]                found reference `&std::collections::HashMap<std::string::String, std::sync::Arc<state::button::ButtonSetup>>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/state/button.rs:189:12
[INFO] [stdout]     |
[INFO] [stdout] 189 |     pub fn set_rendered_and_get_face_for_rendering<'a>(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 190 |         &mut self,
[INFO] [stdout] 191 |         named_buttons: &'a HashMap<String, ButtonSetup>,
[INFO] [stdout]     |         -----------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AlreadyStarted` is never constructed
[INFO] [stdout]   --> src/foreground_window/error.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum Error {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 25 |     AlreadyStarted,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/state/button.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl ButtonState {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 120 |     pub fn new(button_name: String) -> ButtonState {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/state/button.rs:318:28
[INFO] [stdout]     |
[INFO] [stdout] 318 |         state.set_released(&named_buttons);
[INFO] [stdout]     |               ------------ ^^^^^^^^^^^^^^ expected `&HashMap<String, ButtonSetup>`, found `&HashMap<String, Arc<ButtonSetup>>`
[INFO] [stdout]     |               |
[INFO] [stdout]     |               arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&std::collections::HashMap<std::string::String, state::button::ButtonSetup>`
[INFO] [stdout]                found reference `&std::collections::HashMap<std::string::String, std::sync::Arc<state::button::ButtonSetup>>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/state/button.rs:152:12
[INFO] [stdout]     |
[INFO] [stdout] 152 |     pub fn set_released<'a>(
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 153 |         &mut self,
[INFO] [stdout] 154 |         named_buttons: &'a HashMap<String, ButtonSetup>,
[INFO] [stdout]     |         -----------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/script_engine/python/app_state.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | /         self.state.write().unwrap().set_named_button_up_face(
[INFO] [stdout] 28 | |             &button_name,
[INFO] [stdout] 29 | |             match properties.get("color") {
[INFO] [stdout] 30 | |                 None => None,
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |                 Some(c) => Some(hex_string_to_rgba_color(c).unwrap()),
[INFO] [stdout] 48 | |             });
[INFO] [stdout]    | |______________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let _ = self.state.write().unwrap().set_named_button_up_face(
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/script_engine/python/engine.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             locals.set_item("state", Py::new(py, super::app_state::AppState::new(app_state)).unwrap());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 17 |             let _ = locals.set_item("state", Py::new(py, super::app_state::AppState::new(app_state)).unwrap());
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `streamdeck-controller-rs` (bin "streamdeck-controller-rs" test) due to 9 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "786278430fce379a4a5581135b82582c5ddc6a30cae0ef9a724a934f9ba5986a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "786278430fce379a4a5581135b82582c5ddc6a30cae0ef9a724a934f9ba5986a", kill_on_drop: false }`
[INFO] [stdout] 786278430fce379a4a5581135b82582c5ddc6a30cae0ef9a724a934f9ba5986a
